﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL.ProjectArtist
{
    interface IProjectAstistDao
    {

        Models.ProjectArtists GetProjectAstistByProjectIdAndOwnerId(int projectId,int ownerId);

        List<Models.ProjectArtists> GetListByProjectId(int projectId, int pageIndex = 1, int pageSize = 12);

        List<Models.ProjectArtists> GetListByOwnerId(int ownerId, int pageIndex = 1, int pageSize = 12);

        bool Insert(Models.ProjectArtists projectArtist);

        bool Delete(int projectId, int ownerId);

        int GetTotal();
    }
}
